package com.sec.android.app.myfiles.util.region;

import android.content.Context;

import com.sec.android.app.myfiles.util.chain.ChainBuilder;

/**
 * Created by jae.bae on 2016-09-01.
 */


public class RegionUtils {

    public static final String CHINA = "CN";
    public static final String CHINA_LANGUAGE = "zh";

    private static AbsRegionImp sRegionImp;

    static {
        ChainBuilder<AbsRegionImp> builder = new ChainBuilder<>().
                append(new ChinaRegionImp()).
                append(new CommonRegionImp());//Common have to be at last

        sRegionImp = builder.getInstance();
    }

    public static String getFolderDescription(Context context, String path) {
        return sRegionImp.getFolderDescription(context, path);
    }
}
